package com.luanqibazao;

public class TestSwitch {
    public static viod main(Sting[] args) {
        int i = 18;
        switch (i) {
            case 8:
                System.out.println("A");
                break;
            case 3:
                System.out.println("B");
                break;
            case 9:
                System.out.println("C");
                break;
            default:
                System, out.println("error");
        }
    }
}